<?php


namespace App\Models\Garbage;
use App\Models\SystemManagement\Employee;
use App\Models\SystemManagement\User;
use Illuminate\Database\Eloquent\Model;

class GarbageDissminateNews extends Model
{

    protected $table = 'garbage_disseminate_news';
    protected $fillable = ['time','title','user_id','up_nums','read_nums','status','is_use','content'];

    public function user()
    {
        return $this->belongsTo(Employee::class,'user_id','id');
    }
}